<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>大家早上好</title>
<script src="https://cdn.bootcss.com/react/15.4.2/react.min.js"></script>
<script src="https://cdn.bootcss.com/react/15.4.2/react-dom.min.js"></script>
<script src="https://cdn.bootcss.com/babel-standalone/6.22.1/babel.min.js"></script>
</head>

<body>
<div id="app"></div>
 <script type="text/babel">
     var HelloMessage = React.createClass({
        render:function(){
          return <h1>今天天气好晴朗</h1>;
        }
     });

     ReactDOM.render(
       <HelloMessage/>,
       document.getElementById('app')
     );
 </script>

</body>

</html>